package com.atguigu.dwm.model.service;

import com.atguigu.dwm.common.bean.QueryInfo;
import com.atguigu.dwm.model.bean.DmTable;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.thrift.TException;

import java.util.List;

/**
 * <p>
 * 数据表 服务类
 * </p>
 *
 * @author zhangchen
 * @since 2024-07-03
 */
public interface DmTableService extends IService<DmTable> {

    void saveTableAll(DmTable dmTable);

    List<DmTable> getQueryList(QueryInfo queryInfo);

    Integer getQueryTotal(QueryInfo queryInfo);

    DmTable getTableAll(Long id);

    void submitToHive(Long tableId) throws  Exception;
}
